package com.liruo.treasureattic.service.url.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liruo.treasureattic.common.model.entity.TreasureUrl;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author LYM
* @description 针对表【treasure_uri(Can be the same level as folder)】的数据库操作Mapper
* @createDate 2022-10-31 20:29:01
* @Entity com.liruo.treasureattic.common.model.entity.TreasureUrl
*/
public interface TreasureUrlMapper extends BaseMapper<TreasureUrl> {

    boolean realDelUrlByFids(List<Long> ids);
    @Delete("delete from `treasure_url` where `fid` = #{fid}")
    boolean realDelUrlByFid(@Param("fid") long fid);
}




